#////////////////////////////////////////////////////////////////////////////
#//
#// Author      : Luis M. de la Cruz Salas
#// Date        : Sun Jan 20 14:10:13 GMT 2008
#//
#////////////////////////////////////////////////////////////////////////////

include	../tuna-cfd-rules.in

all : nonuniform_meshes complexmesh

nonuniform_meshes: nonuniform_meshes.o 
	$(CXX) $< -o $@ $(LIBS)

# For graphics add -DWITH_GNUPLOT for gnuplot or -DWITH_DX for OpenDx

nonuniform_meshes.o: nonuniform_meshes.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT $(INCLUDES) -c $<

complexmesh: complexmesh.o 
	$(CXX) $< -o $@ $(LIBS)

# For graphics add -DWITH_GNUPLOT for gnuplot or -DWITH_DX for OpenDx

complexmesh.o: complexmesh.cpp
	$(CXX) $(CXXFLAGS) -DWITH_GNUPLOT $(INCLUDES) -c $<

clean:
	/bin/rm -f nonuniform_meshes nonuniform_meshes.o complexmesh complexmesh.o *~
